import { defHttp } from '/@/utils/http/axios'

export function getCount() {
	return defHttp.get({ url: `Warnings/Realtime/Count` })
}
export function gethisCount() {
	return defHttp.get({ url: `Warnings/History/Count` })
}
export function gethisCountInfo(type) {
	return defHttp.get({ url: `Warnings/History/Count/${type}` })
}
export function getolLine() {
	return defHttp.get({ url: `devices/OnlineStatus` })
}

